package org.dromara.cms.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 内容模型对象 cms_model
 *
 * @author Spring
 * @date 2024-12-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("cms_model")
public class CmsModel extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 模型ID
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 模型名称
     */
    private String modelName;

    /**
     * 模型标识
     */
    private String modelCode;

    /**
     * 模型类型(article/page/category)
     */
    private String modelType;

    /**
     * 数据表名
     */
    private String tableName;

    /**
     * 是否系统模型(0否 1是)
     */
    private Long isSystem;

    /**
     * 状态(0正常 1停用)
     */
    private String state;

    /**
     * 备注
     */
    private String remark;


}
